//
//  ViewController.m
//  color changer
//
//  Created by iD Student on 7/8/13.
//  Copyright (c) 2013 iD Student. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

-(IBAction)changeBackgroundToRed:(id)sender
{
    [self.view setBackgroundColor:[UIColor redColor]];
}

-(IBAction)changeBackgroundToBlue:(id)sender
{
    [self.view setBackgroundColor:[UIColor blueColor]];
}

-(IBAction)changeBackgroundToGreen:(id)sender
{
    [self.view setBackgroundColor:[UIColor greenColor]];
}

-(IBAction)changeBackgroundToYellow:(id)sender
{
    [self.view setBackgroundColor:[UIColor yellowColor]];
}

-(IBAction)changeBackgroundToGrey:(id)sender
{
    [self.view setBackgroundColor:[UIColor grayColor]];
}

@end
